package com.jsbb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;

/**
 * 密码修改DTO
 *
 * @author jsbb
 */
public class PwdUpdateDto {

    @NotEmpty
    @Schema(title = "旧密码")
    private String oldPwd;

    @NotEmpty
    @Schema(title = "新密码")
    private String newPwd;

    @NotEmpty
    @Schema(title = "确认密码")
    private String confirmPwd;

    public String getOldPwd() {
        return oldPwd;
    }

    public void setOldPwd(String oldPwd) {
        this.oldPwd = oldPwd;
    }

    public String getNewPwd() {
        return newPwd;
    }

    public void setNewPwd(String newPwd) {
        this.newPwd = newPwd;
    }

    public String getConfirmPwd() {
        return confirmPwd;
    }

    public void setConfirmPwd(String confirmPwd) {
        this.confirmPwd = confirmPwd;
    }
}
